fix(deno): Enable sessions for HTTP requests - #23313
Conversation
|
Hey @AG0708 thanks for your contribution. May I ask if there is an existing issue for this? But I see that the JSDoc actually says that the default is |
9eb32ec to
71f66dc
Compare
|
I rebased this branch onto current |
Deno disabled release-health sessions for incoming node:http requests even though the shared HTTP instrumentation defaults them on. Preserve the shared default and cover it with a real request regression test. Co-Authored-By: OpenAI Codex <codex@openai.com> Signed-off-by: Abhinav Gorrepati <gorrepatiabhinav1@gmail.com>
3683d10 to
0e80294
Compare
|
This is the simple targeted fix that makes Pushed a |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ded3cdd. Configure here.

Deno's
node:httpserver integration disabled release-health sessions eventhough the shared HTTP instrumentation enables them by default. Keeping the
shared default aligns Deno with the other server runtimes and restores session
aggregates for incoming requests when a release is configured.
Root cause
The Deno integration passed
sessions: falsewhen it subscribed to shared HTTPserver instrumentation. There is no Deno-specific duplicate instrumentation
that requires that override.
yarn lint) & (yarn test).Fixes #22888